projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e6b29
)
Really fix the syntax problem in define-minor-mode
author
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 14 Feb 2021 13:13:38 +0000
(14:13 +0100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 14 Feb 2021 13:13:38 +0000
(14:13 +0100)
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Fix
interactive extension in previous change.
lisp/emacs-lisp/easy-mmode.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/easy-mmode.el
b/lisp/emacs-lisp/easy-mmode.el
index 01fb58e863ab09afba9ab8fca9472fe4ec1921c9..7e5e2a9b8a93fa0d9a1df9d076b2f73e7e952c07 100644
(file)
--- a/
lisp/emacs-lisp/easy-mmode.el
+++ b/
lisp/emacs-lisp/easy-mmode.el
@@
-314,10
+314,10
@@
or call the function `%s'."))))
;; repeat-command still does the toggling correctly.
(if (consp interactive)
`(interactive
- ,interactive
(list (if current-prefix-arg
(prefix-numeric-value current-prefix-arg)
- 'toggle)))
+ 'toggle))
+ ,@interactive)
'(interactive (list (if current-prefix-arg
(prefix-numeric-value current-prefix-arg)
'toggle)))))